package com.ftdigital.primemovers_operators.model;

import java.util.List;

/**
 * Created by Curry on 2016-1-24.
 */
public class test {


    /**
     * flag : true
     * data : {"car_num":"沪DE7660","car_id":36,"name":"上海豫能物流有限公司","icon_url":"0ebfb37f-f891-4f28-940a-e219f51d80cc.jpg","contract_url":"4da89c40-43e1-4adb-b618-56893f18464f.docx","list":[{"amount":"100000.00L","discount1":"本价格基于当地市场价格，已优惠10.00%","price":"","gas_type":"0# 柴油","localprice":"","discount":"每升优惠10.00%"}],"contract_id":6,"car_type":"17.5","descs":"初期试用","city":""}
     * msg : 成功
     */
    private boolean flag;
    private DataEntity data;
    private String msg;

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public DataEntity getData() {
        return data;
    }

    public String getMsg() {
        return msg;
    }

    public class DataEntity {
        /**
         * car_num : 沪DE7660
         * car_id : 36
         * name : 上海豫能物流有限公司
         * icon_url : 0ebfb37f-f891-4f28-940a-e219f51d80cc.jpg
         * contract_url : 4da89c40-43e1-4adb-b618-56893f18464f.docx
         * list : [{"amount":"100000.00L","discount1":"本价格基于当地市场价格，已优惠10.00%","price":"","gas_type":"0# 柴油","localprice":"","discount":"每升优惠10.00%"}]
         * contract_id : 6
         * car_type : 17.5
         * descs : 初期试用
         * city :
         */
        private String car_num;
        private int car_id;
        private String name;
        private String icon_url;
        private String contract_url;
        private List<ListEntity> list;
        private int contract_id;
        private String car_type;
        private String descs;
        private String city;

        public void setCar_num(String car_num) {
            this.car_num = car_num;
        }

        public void setCar_id(int car_id) {
            this.car_id = car_id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setIcon_url(String icon_url) {
            this.icon_url = icon_url;
        }

        public void setContract_url(String contract_url) {
            this.contract_url = contract_url;
        }

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public void setContract_id(int contract_id) {
            this.contract_id = contract_id;
        }

        public void setCar_type(String car_type) {
            this.car_type = car_type;
        }

        public void setDescs(String descs) {
            this.descs = descs;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getCar_num() {
            return car_num;
        }

        public int getCar_id() {
            return car_id;
        }

        public String getName() {
            return name;
        }

        public String getIcon_url() {
            return icon_url;
        }

        public String getContract_url() {
            return contract_url;
        }

        public List<ListEntity> getList() {
            return list;
        }

        public int getContract_id() {
            return contract_id;
        }

        public String getCar_type() {
            return car_type;
        }

        public String getDescs() {
            return descs;
        }

        public String getCity() {
            return city;
        }

        public class ListEntity {
            /**
             * amount : 100000.00L
             * discount1 : 本价格基于当地市场价格，已优惠10.00%
             * price :
             * gas_type : 0# 柴油
             * localprice :
             * discount : 每升优惠10.00%
             */
            private String amount;
            private String discount1;
            private String price;
            private String gas_type;
            private String localprice;
            private String discount;

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public void setDiscount1(String discount1) {
                this.discount1 = discount1;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public void setGas_type(String gas_type) {
                this.gas_type = gas_type;
            }

            public void setLocalprice(String localprice) {
                this.localprice = localprice;
            }

            public void setDiscount(String discount) {
                this.discount = discount;
            }

            public String getAmount() {
                return amount;
            }

            public String getDiscount1() {
                return discount1;
            }

            public String getPrice() {
                return price;
            }

            public String getGas_type() {
                return gas_type;
            }

            public String getLocalprice() {
                return localprice;
            }

            public String getDiscount() {
                return discount;
            }
        }
    }
}
